package com.chinasoft.ecommerceconsumptionanalysissystem.service.impl;

import com.chinasoft.ecommerceconsumptionanalysissystem.mapper.HighRepurchaseBrandMapper;
import com.chinasoft.ecommerceconsumptionanalysissystem.pojo.HighRepurchaseBrand;
import com.chinasoft.ecommerceconsumptionanalysissystem.service.HighRepurchaseBrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HighRepurchaseBrandServiceImpl implements HighRepurchaseBrandService {
    @Autowired
    private HighRepurchaseBrandMapper highRepurchaseBrandMapper;

    @Override
    public List<HighRepurchaseBrand> selectAll() {
        return highRepurchaseBrandMapper.selectAll();
    }

    @Override
    public int insert(HighRepurchaseBrand highRepurchaseBrand) {
        return highRepurchaseBrandMapper.insert(highRepurchaseBrand);
    }
}
